Conclusion

  1. Packages can be created once and can be used as library functions. They can be imported in user’s modules wherever needed.

 

  1. Java doesn’t support multiple inheritance. Interfaces overcome this limitation.

JAVA Packages and Interfaces